home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 6 / FM Towns Free Software Collection 6.iso / t_os / igo / src / midesk.c < prev    next >
C/C++ Source or Header  |  1993-07-08  |  21KB  |  896 lines

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <winb.h>
  4. #include <te.h>
  5. #include <fntb.h>
  6. #include <gui.h>
  7.  
  8. extern int    backId ;
  9. extern int    MJ_BASEOBJ ;
  10. extern int    title_dispdialogId ;
  11. extern int    title_messageId[9] ;
  12. extern int    textcommentId[8] ;
  13. extern int    buttonId ;
  14. extern int    igo_oper() ;
  15. extern int    deskTopId ;
  16. extern int    deskTopBtnId[2] ;
  17. extern int    exitFunc() ;
  18. extern int    menuBarId ;
  19. extern int    mitemBarId[4] ;
  20. extern int    menu0Id ;
  21. extern int    mitem0Id ;
  22. extern int    showAboutFunc() ;
  23. extern int    menu1Id ;
  24. extern int    mitem1Id[7] ;
  25. extern int    igo_init() ;
  26. extern int    igo_read() ;
  27. extern int    igo_write() ;
  28. extern int    igo_samewrite() ;
  29. extern int    igo_handy() ;
  30. extern int    menu2Id ;
  31. extern int    mitem2Id[6] ;
  32. extern int    igo_title() ;
  33. extern int    igo_comment() ;
  34. extern int    igo_chg_put() ;
  35. extern int    igo_chg_cancel() ;
  36. extern int    menu3Id ;
  37. extern int    igo_nummberdisp() ;
  38. extern int    igo_autorebirth() ;
  39.  
  40. #define ALIGN    4
  41. #define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
  42.  
  43. /*    MMI_init 用データ    */
  44.  
  45. /*    ヘッダ    */
  46.  
  47. MMIINIT    initDataMIDESK = { "MmiInit",  45, 0 } ;
  48.  
  49. /* backId */
  50.  
  51. static MMIPACKET d001 = {    &backId,
  52.                             &MJ_BASEOBJ,
  53.                             &MJ_DIALOGL40,
  54.                             OFFSET(DIALOGL40),
  55.                             MS_NONE
  56.                         } ;
  57. static DIALOGL40    d001d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
  58.                                0,   0, 639, 479, 0, 0, 0,
  59.                             MS_NONEL40,
  60.                             NULL,   0,   0
  61.                         } ;
  62.  
  63. /* title_dispdialogId */
  64.  
  65. static MMIPACKET d002 = {    &title_dispdialogId,
  66.                             &backId,
  67.                             &MJ_DIALOGL40,
  68.                             OFFSET(DIALOGL40),
  69.                             MS_NONE
  70.                         } ;
  71. static DIALOGL40    d002d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
  72.                                3,  30, 176, 426, 8, 7, 8,
  73.                             MS_FRAMEL40,
  74.                             NULL,   0,   0
  75.                         } ;
  76.  
  77. /* title_messageId[1] */
  78.  
  79. static MMIPACKET d003 = {    &title_messageId[1],
  80.                             &title_dispdialogId,
  81.                             &MJ_MSGL40,
  82.                             OFFSET(MSGL40),
  83.                             MS_NONE
  84.                         } ;
  85. static MSGL40    d003d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  86.                                4,  62,  53,  80, 8,15, 8,
  87.                             MS_NONEL40,
  88.                             "対局者 黒",
  89.                                1,  10,  10,
  90.                             MS_NONEL40,
  91.                                0,   0
  92.                         } ;
  93.  
  94. /* title_messageId[2] */
  95.  
  96. static MMIPACKET d004 = {    &title_messageId[2],
  97.                             &title_dispdialogId,
  98.                             &MJ_MSGL40,
  99.                             OFFSET(MSGL40),
  100.                             MS_NONE
  101.                         } ;
  102. static MSGL40    d004d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  103.                                4,  80,  54,  98, 8,15, 8,
  104.                             MS_NONEL40,
  105.                             "対局者 白",
  106.                                1,  10,  10,
  107.                             MS_NONEL40,
  108.                                0,   0
  109.                         } ;
  110.  
  111. /* title_messageId[0] */
  112.  
  113. static MMIPACKET d005 = {    &title_messageId[0],
  114.                             &title_dispdialogId,
  115.                             &MJ_MSGL40,
  116.                             OFFSET(MSGL40),
  117.                             MS_NONE
  118.                         } ;
  119. static MSGL40    d005d =     {    MS_CENTERL40 | MS_DSPONLYL40,
  120.                               10,  40, 169,  63, 8,15, 8,
  121.                             MS_NONEL40,
  122.                             "対局記録",
  123.                                1,  12,  12,
  124.                             MS_NONEL40,
  125.                                5,   0
  126.                         } ;
  127.  
  128. /* title_messageId[3] */
  129.  
  130. static MMIPACKET d006 = {    &title_messageId[3],
  131.                             &title_dispdialogId,
  132.                             &MJ_MSGL40,
  133.                             OFFSET(MSGL40),
  134.                             MS_NONE
  135.                         } ;
  136. static MSGL40    d006d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  137.                                4, 100,  53, 115, 8,15, 8,
  138.                             MS_NONEL40,
  139.                             "対局開始",
  140.                                1,  10,  10,
  141.                             MS_NONEL40,
  142.                                0,   0
  143.                         } ;
  144.  
  145. /* title_messageId[4] */
  146.  
  147. static MMIPACKET d007 = {    &title_messageId[4],
  148.                             &title_dispdialogId,
  149.                             &MJ_MSGL40,
  150.                             OFFSET(MSGL40),
  151.                             MS_NONE
  152.                         } ;
  153. static MSGL40    d007d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  154.                                4, 122,  46, 138, 8,15, 8,
  155.                             MS_NONEL40,
  156.                             "対局終了",
  157.                                1,  10,  10,
  158.                             MS_NONEL40,
  159.                                0,   0
  160.                         } ;
  161.  
  162. /* title_messageId[5] */
  163.  
  164. static MMIPACKET d008 = {    &title_messageId[5],
  165.                             &title_dispdialogId,
  166.                             &MJ_MSGL40,
  167.                             OFFSET(MSGL40),
  168.                             MS_NONE
  169.                         } ;
  170. static MSGL40    d008d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  171.                                3, 143,  49, 158, 8,15, 8,
  172.                             MS_NONEL40,
  173.                             "対局場所",
  174.                                1,  10,  10,
  175.                             MS_NONEL40,
  176.                                0,   0
  177.                         } ;
  178.  
  179. /* title_messageId[6] */
  180.  
  181. static MMIPACKET d009 = {    &title_messageId[6],
  182.                             &title_dispdialogId,
  183.                             &MJ_MSGL40,
  184.                             OFFSET(MSGL40),
  185.                             MS_NONE
  186.                         } ;
  187. static MSGL40    d009d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  188.                                4, 165,  50, 180, 8,15, 8,
  189.                             MS_NONEL40,
  190.                             "コミ",
  191.                                1,  10,  10,
  192.                             MS_NONEL40,
  193.                                0,   0
  194.                         } ;
  195.  
  196. /* title_messageId[7] */
  197.  
  198. static MMIPACKET d010 = {    &title_messageId[7],
  199.                             &title_dispdialogId,
  200.                             &MJ_MSGL40,
  201.                             OFFSET(MSGL40),
  202.                             MS_NONE
  203.                         } ;
  204. static MSGL40    d010d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  205.                                4, 185,  50, 200, 8,15, 8,
  206.                             MS_NONEL40,
  207.                             "結果",
  208.                                1,  10,  10,
  209.                             MS_NONEL40,
  210.                                0,   0
  211.                         } ;
  212.  
  213. /* title_messageId[8] */
  214.  
  215. static MMIPACKET d011 = {    &title_messageId[8],
  216.                             &title_dispdialogId,
  217.                             &MJ_MSGL40,
  218.                             OFFSET(MSGL40),
  219.                             MS_NONE
  220.                         } ;
  221. static MSGL40    d011d =     {    MS_LEFTL40 | MS_DSPONLYL40,
  222.                                5, 203,  51, 218, 8,15, 8,
  223.                             MS_NONEL40,
  224.                             "コメント",
  225.                                1,  10,  10,
  226.                             MS_NONEL40,
  227.                                0,   0
  228.                         } ;
  229.  
  230. /* textcommentId[7] */
  231.  
  232. static MMIPACKET d012 = {    &textcommentId[7],
  233.                             &title_dispdialogId,
  234.                             &MJ_TEXTL40,
  235.                             OFFSET(TEXTL40),
  236.                             MS_NONE
  237.                         } ;
  238. static TEXTL40    d012d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
  239.                                5, 224, 172, 421, 8,15, 8,
  240.                             MS_FRAMEL40,
  241.                             0,
  242.                                0,   0,   0,   0,
  243.                                0,   0,   0,   0,   0,
  244.                                   -1,   0,   0,
  245.                                0,   0,   0,   0,
  246.                                0,
  247.                                0,   0,   0,   0,
  248.                                1,  10,  10,   0,   0,
  249.                                0,   0,   0,   0,   0,   0,   0,
  250.                                0,   0,   0,   0,
  251.                               24
  252.                         } ;
  253.  
  254. /* textcommentId[0] */
  255.  
  256. static MMIPACKET d013 = {    &textcommentId[0],
  257.                             &title_dispdialogId,
  258.                             &MJ_TEXTL40,
  259.                             OFFSET(TEXTL40),
  260.                             MS_NONE
  261.                         } ;
  262. static TEXTL40    d013d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
  263.                               51,  62, 172,  78, 8,15, 8,
  264.                             MS_FRAMEL40,
  265.                             0,
  266.                                0,   0,   0,   0,
  267.                                0,   0,   0,   0,   0,
  268.                                   -1,   0,   0,
  269.                                0,   0,   0,   0,
  270.                                0,
  271.                                0,   0,   0,   0,
  272.                                1,  10,  10,   0,   0,
  273.                                0,   0,   0,   0,   0,   0,   0,
  274.                                0,   0,   0,   0,
  275.                               24
  276.                         } ;
  277.  
  278. /* textcommentId[1] */
  279.  
  280. static MMIPACKET d014 = {    &textcommentId[1],
  281.                             &title_dispdialogId,
  282.                             &MJ_TEXTL40,
  283.                             OFFSET(TEXTL40),
  284.                             MS_NONE
  285.                         } ;
  286. static TEXTL40    d014d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
  287.                               51,  82, 172,  97, 8,15, 8,
  288.                             MS_FRAMEL40,
  289.                             0,
  290.                                0,   0,   0,   0,
  291.                                0,   0,   0,   0,   0,
  292.                                   -1,   0,   0,
  293.                                0,   0,   0,   0,
  294.                                0,
  295.                                0,   0,   0,   0,
  296.                                1,  10,  10,   0,   0,
  297.                                0,   0,   0,   0,   0,   0,   0,
  298.                                0,   0,   0,   0,
  299.                               24
  300.                         } ;
  301.  
  302. /* textcommentId[2] */
  303.  
  304. static MMIPACKET d015 = {    &textcommentId[2],
  305.                             &title_dispdialogId,
  306.                             &MJ_TEXTL40,
  307.                             OFFSET(TEXTL40),
  308.                             MS_NONE
  309.                         } ;
  310. static TEXTL40    d015d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
  311.                               51, 100, 172, 115, 8,15, 8,
  312.                             MS_FRAMEL40,
  313.                             0,
  314.                                0,   0,   0,   0,
  315.                                0,   0,   0,   0,   0,
  316.                                   -1,   0,   0,
  317.                                0,   0,   0,   0,
  318.                                0,
  319.                                0,   0,   0,   0,
  320.                                1,  10,  10,   0,   0,
  321.                                0,   0,   0,   0,   0,   0,   0,
  322.                                0,   0,   0,   0,
  323.                               24
  324.                         } ;
  325.  
  326. /* textcommentId[3] */
  327.  
  328. static MMIPACKET d016 = {    &textcommentId[3],
  329.                             &title_dispdialogId,
  330.                             &MJ_TEXTL40,
  331.                             OFFSET(TEXTL40),
  332.                             MS_NONE
  333.                         } ;
  334. static TEXTL40    d016d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
  335.                               51, 120, 172, 135, 8,15, 8,
  336.                             MS_FRAMEL40,
  337.                             0,
  338.                                0,   0,   0,   0,
  339.                                0,   0,   0,   0,   0,
  340.                                   -1,   0,   0,
  341.                                0,   0,   0,   0,
  342.                                0,
  343.                                0,   0,   0,   0,
  344.                                1,  10,  10,   0,   0,
  345.                                0,   0,   0,   0,   0,   0,   0,
  346.                                0,   0,   0,   0,
  347.                               24
  348.                         } ;
  349.  
  350. /* textcommentId[4] */
  351.  
  352. static MMIPACKET d017 = {    &textcommentId[4],
  353.                             &title_dispdialogId,
  354.                             &MJ_TEXTL40,
  355.                             OFFSET(TEXTL40),
  356.                             MS_NONE
  357.                         } ;
  358. static TEXTL40    d017d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
  359.                               50, 142, 171, 157, 8,15, 8,
  360.                             MS_FRAMEL40,
  361.                             0,
  362.                                0,   0,   0,   0,
  363.                                0,   0,   0,   0,   0,
  364.                                   -1,   0,   0,
  365.                                0,   0,   0,   0,
  366.                                0,
  367.                                0,   0,   0,   0,
  368.                                1,  10,  10,   0,   0,
  369.                                0,   0,   0,   0,   0,   0,   0,
  370.                                0,   0,   0,   0,
  371.                               24
  372.                         } ;
  373.  
  374. /* textcommentId[5] */
  375.  
  376. static MMIPACKET d018 = {    &textcommentId[5],
  377.                             &title_dispdialogId,
  378.                             &MJ_TEXTL40,
  379.                             OFFSET(TEXTL40),
  380.                             MS_NONE
  381.                         } ;
  382. static TEXTL40    d018d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
  383.                               51, 162, 172, 177, 8,15, 8,
  384.                             MS_FRAMEL40,
  385.                             0,
  386.                                0,   0,   0,   0,
  387.                                0,   0,   0,   0,   0,
  388.                                   -1,   0,   0,
  389.                                0,   0,   0,   0,
  390.                                0,
  391.                                0,   0,   0,   0,
  392.                                1,  10,  10,   0,   0,
  393.                                0,   0,   0,   0,   0,   0,   0,
  394.                                0,   0,   0,   0,
  395.                               24
  396.                         } ;
  397.  
  398. /* textcommentId[6] */
  399.  
  400. static MMIPACKET d019 = {    &textcommentId[6],
  401.                             &title_dispdialogId,
  402.                             &MJ_TEXTL40,
  403.                             OFFSET(TEXTL40),
  404.                             MS_NONE
  405.                         } ;
  406. static TEXTL40    d019d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
  407.                               50, 184, 171, 199, 8,15, 8,
  408.                             MS_FRAMEL40,
  409.                             0,
  410.                                0,   0,   0,   0,
  411.                                0,   0,   0,   0,   0,
  412.                                   -1,   0,   0,
  413.                                0,   0,   0,   0,
  414.                                0,
  415.                                0,   0,   0,   0,
  416.                                1,  10,  10,   0,   0,
  417.                                0,   0,   0,   0,   0,   0,   0,
  418.                                0,   0,   0,   0,
  419.                               24
  420.                         } ;
  421.  
  422. /* buttonId */
  423.  
  424. static MMIPACKET d020 = {    &buttonId,
  425.                             &backId,
  426.                             &MJ_BUTTONL40,
  427.                             OFFSET(BUTTONL40),
  428.                             MS_NONE
  429.                         } ;
  430. static BUTTONL40    d020d = {    MS_BTRIGHTL40 | MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_UNHLTL40,
  431.                                0,  20, 639, 478, 0, 0, 0,
  432.                             MS_NONEL40,
  433.                             igo_oper,
  434.                             0x0000
  435.                         } ;
  436.  
  437. /* deskTopId */
  438.  
  439. static MMIPACKET d021 = {    &deskTopId,
  440.                             &backId,
  441.                             &MJ_DIALOGL40,
  442.                             OFFSET(DIALOGL40),
  443.                             MS_NONE
  444.                         } ;
  445. static DIALOGL40    d021d = {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
  446.                                0,   0, 639,  20,15, 1,15,
  447.                             MS_FRAMEL40,
  448.                             NULL,   0,   0
  449.                         } ;
  450.  
  451. /* deskTopBtnId[1] */
  452.  
  453. static MMIPACKET d022 = {    &deskTopBtnId[1],
  454.                             &deskTopId,
  455.                             &MJ_ICONL40,
  456.                             OFFSET(ICONL40),
  457.                             MS_NONE
  458.                         } ;
  459. static ICONL40    d022d =     {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
  460.                              610,   0, 630,  19, 0, 1,15,
  461.                             MS_PANELL40,
  462.                             exitFunc,
  463.                             0x0000, 290
  464.                         } ;
  465.  
  466. /* menuBarId */
  467.  
  468. static MMIPACKET d023 = {    &menuBarId,
  469.                             &deskTopId,
  470.                             &MJ_MENUL40,
  471.                             OFFSET(MENUL40),
  472.                             MS_NONE
  473.                         } ;
  474. static MENUL40    d023d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_HORIL40,
  475.                                0,   0, 269,  19,15, 8, 0,
  476.                             MS_NONEL40,
  477.                             NULL,   0
  478.                         } ;
  479.  
  480. /* mitemBarId[0] */
  481.  
  482. static MMIPACKET d024 = {    &mitemBarId[0],
  483.                             &menuBarId,
  484.                             &MJ_MITEML40,
  485.                             OFFSET(MITEML40),
  486.                             MS_NONE
  487.                         } ;
  488. static MITEML40    d024d = {    MS_EVMOSONL40 | MS_LEFTL40,
  489.                                0,   0,  92,  19, 1, 1,15,
  490.                             MS_PANELL40,
  491.                             0,
  492.                             0x0000, 295,
  493.                             NULL,
  494.                                1,  12,  12,
  495.                             MS_NONEL40,
  496.                                0,   0,
  497.                                0
  498.                         } ;
  499.  
  500. /* menu0Id */
  501.  
  502. static MMIPACKET d025 = {    &menu0Id,
  503.                             &mitemBarId[0],
  504.                             &MJ_MENUL40,
  505.                             OFFSET(MENUL40),
  506.                             MS_NONE
  507.                         } ;
  508. static MENUL40    d025d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_SAVEL40,
  509.                              325, 303, 485, 328, 0,15, 0,
  510.                             MS_SRECTL40 | MS_FRAMEL40,
  511.                             NULL,   0
  512.                         } ;
  513.  
  514. /* mitem0Id */
  515.  
  516. static MMIPACKET d026 = {    &mitem0Id,
  517.                             &menu0Id,
  518.                             &MJ_MITEML40,
  519.                             OFFSET(MITEML40),
  520.                             MS_NONE
  521.                         } ;
  522. static MITEML40    d026d = {    MS_EVMOSONL40 | MS_LEFTL40,
  523.                              325, 307, 479, 323, 8,15, 8,
  524.                             MS_NONEL40,
  525.                             showAboutFunc,
  526.                             0x0041,  -1,
  527.                             "プログラムについて...     ",
  528.                                1,  12,  12,
  529.                             MS_NONEL40,
  530.                                0,   0,
  531.                                0
  532.                         } ;
  533.  
  534. /* mitemBarId[1] */
  535.  
  536. static MMIPACKET d027 = {    &mitemBarId[1],
  537.                             &menuBarId,
  538.                             &MJ_MITEML40,
  539.                             OFFSET(MITEML40),
  540.                             MS_NONE
  541.                         } ;
  542. static MITEML40    d027d = {    MS_EVMOSONL40 | MS_LEFTL40 | MS_SKEYL40,
  543.                               92,   0, 183,  19, 8, 2,15,
  544.                             MS_PANELL40,
  545.                             0,
  546.                             0x0000,  -1,
  547.                             "ファイル ",
  548.                                1,  12,  12,
  549.                             MS_NONEL40,
  550.                                0,   0,
  551.                                0
  552.                         } ;
  553.  
  554. /* menu1Id */
  555.  
  556. static MMIPACKET d028 = {    &menu1Id,
  557.                             &mitemBarId[1],
  558.                             &MJ_MENUL40,
  559.                             OFFSET(MENUL40),
  560.                             MS_NONE
  561.                         } ;
  562. static MENUL40    d028d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_SAVEL40,
  563.                              247,  61, 343, 192, 0,15, 0,
  564.                             MS_SRECTL40 | MS_FRAMEL40,
  565.                             NULL,   0
  566.                         } ;
  567.  
  568. /* mitem1Id[0] */
  569.  
  570. static MMIPACKET d029 = {    &mitem1Id[0],
  571.                             &menu1Id,
  572.                             &MJ_MITEML40,
  573.                             OFFSET(MITEML40),
  574.                             MS_NONE
  575.                         } ;
  576. static MITEML40    d029d = {    MS_EVMOSONL40 | MS_LEFTL40,
  577.                              248,  62, 333,  77, 8,15, 8,
  578.                             MS_NONEL40,
  579.                             igo_init,
  580.                             0x004e,  -1,
  581.                             "新規作成  ",
  582.                                1,  12,  12,
  583.                             MS_NONEL40,
  584.                                0,   0,
  585.                                0
  586.                         } ;
  587.  
  588. /* mitem1Id[1] */
  589.  
  590. static MMIPACKET d030 = {    &mitem1Id[1],
  591.                             &menu1Id,
  592.                             &MJ_MITEML40,
  593.                             OFFSET(MITEML40),
  594.                             MS_NONE
  595.                         } ;
  596. static MITEML40    d030d = {    MS_EVMOSONL40 | MS_LEFTL40,
  597.                              248,  79, 333,  94, 8,15, 8,
  598.                             MS_NONEL40,
  599.                             igo_read,
  600.                             0x004c,  -1,
  601.                             "読 込...",
  602.                                1,  12,  12,
  603.                             MS_NONEL40,
  604.                                0,   0,
  605.                                0
  606.                         } ;
  607.  
  608. /* mitem1Id[2] */
  609.  
  610. static MMIPACKET d031 = {    &mitem1Id[2],
  611.                             &menu1Id,
  612.                             &MJ_MITEML40,
  613.                             OFFSET(MITEML40),
  614.                             MS_NONE
  615.                         } ;
  616. static MITEML40    d031d = {    MS_EVMOSONL40 | MS_LEFTL40,
  617.                              248,  95, 334, 110, 8,15, 8,
  618.                             MS_NONEL40,
  619.                             igo_write,
  620.                             0x0053,  -1,
  621.                             "保 存...",
  622.                                1,  12,  12,
  623.                             MS_NONEL40,
  624.                                0,   0,
  625.                                0
  626.                         } ;
  627.  
  628. /* mitem1Id[3] */
  629.  
  630. static MMIPACKET d032 = {    &mitem1Id[3],
  631.                             &menu1Id,
  632.                             &MJ_MITEML40,
  633.                             OFFSET(MITEML40),
  634.                             MS_NONE
  635.                         } ;
  636. static MITEML40    d032d = {    MS_EVMOSONL40 | MS_LEFTL40,
  637.                              249, 111, 341, 132, 8,15, 8,
  638.                             MS_NONEL40,
  639.                             igo_samewrite,
  640.                             0x0057,  -1,
  641.                             "同名保存",
  642.                                1,  12,  12,
  643.                             MS_NONEL40,
  644.                                0,   0,
  645.                                0
  646.                         } ;
  647.  
  648. /* mitem1Id[4] */
  649.  
  650. static MMIPACKET d033 = {    &mitem1Id[4],
  651.                             &menu1Id,
  652.                             &MJ_MITEML40,
  653.                             OFFSET(MITEML40),
  654.                             MS_NONE
  655.                         } ;
  656. static MITEML40    d033d = {    MS_EVMOSONL40 | MS_LEFTL40,
  657.                              249, 132, 340, 147, 8,15, 8,
  658.                             MS_NONEL40,
  659.                             igo_handy,
  660.                             0x0048,  -1,
  661.                             "置碁設定...",
  662.                                1,  12,  12,
  663.                             MS_NONEL40,
  664.                                0,   0,
  665.                                0
  666.                         } ;
  667.  
  668. /* mitem1Id[5] */
  669.  
  670. static MMIPACKET d034 = {    &mitem1Id[5],
  671.                             &menu1Id,
  672.                             &MJ_MITEML40,
  673.                             OFFSET(MITEML40),
  674.                             MS_NONE
  675.                         } ;
  676. static MITEML40    d034d = {    MS_EVMOSONL40 | MS_LEFTL40,
  677.                              248, 152, 334, 167, 0,15, 0,
  678.                             MS_NONEL40,
  679.                             0,
  680.                             0x0000,  -1,
  681.                             NULL,
  682.                                1,  12,  12,
  683.                             MS_NONEL40,
  684.                                0,   0,
  685.                                0
  686.                         } ;
  687.  
  688. /* mitem1Id[6] */
  689.  
  690. static MMIPACKET d035 = {    &mitem1Id[6],
  691.                             &menu1Id,
  692.                             &MJ_MITEML40,
  693.                             OFFSET(MITEML40),
  694.                             MS_NONE
  695.                         } ;
  696. static MITEML40    d035d = {    MS_EVMOSONL40 | MS_LEFTL40,
  697.                              251, 170, 337, 188, 8,15, 8,
  698.                             MS_NONEL40,
  699.                             exitFunc,
  700.                             0x0051,  -1,
  701.                             "Quit",
  702.                                1,  12,  12,
  703.                             MS_NONEL40,
  704.                                0,   0,
  705.                                0
  706.                         } ;
  707.  
  708. /* mitemBarId[2] */
  709.  
  710. static MMIPACKET d036 = {    &mitemBarId[2],
  711.                             &menuBarId,
  712.                             &MJ_MITEML40,
  713.                             OFFSET(MITEML40),
  714.                             MS_NONE
  715.                         } ;
  716. static MITEML40    d036d = {    MS_EVMOSONL40 | MS_LEFTL40 | MS_SKEYL40,
  717.                              184,   0, 275,  19, 8, 9,15,
  718.                             MS_PANELL40,
  719.                             0,
  720.                             0x0000,  -1,
  721.                             " 編  集   ",
  722.                                1,  12,  12,
  723.                             MS_NONEL40,
  724.                                0,   0,
  725.                                0
  726.                         } ;
  727.  
  728. /* menu2Id */
  729.  
  730. static MMIPACKET d037 = {    &menu2Id,
  731.                             &mitemBarId[2],
  732.                             &MJ_MENUL40,
  733.                             OFFSET(MENUL40),
  734.                             MS_NONE
  735.                         } ;
  736. static MENUL40    d037d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_SAVEL40,
  737.                              355,  54, 472, 160, 0,15, 0,
  738.                             MS_SRECTL40 | MS_FRAMEL40,
  739.                             NULL,   0
  740.                         } ;
  741.  
  742. /* mitem2Id[0] */
  743.  
  744. static MMIPACKET d038 = {    &mitem2Id[0],
  745.                             &menu2Id,
  746.                             &MJ_MITEML40,
  747.                             OFFSET(MITEML40),
  748.                             MS_NONE
  749.                         } ;
  750. static MITEML40    d038d = {    MS_EVMOSONL40 | MS_LEFTL40,
  751.                              358,  55, 465,  78, 8,15, 8,
  752.                             MS_NONEL40,
  753.                             igo_title,
  754.                             0x0050,  -1,
  755.                             "対局記録...",
  756.                                1,  12,  12,
  757.                             MS_NONEL40,
  758.                                0,   0,
  759.                                0
  760.                         } ;
  761.  
  762. /* mitem2Id[1] */
  763.  
  764. static MMIPACKET d039 = {    &mitem2Id[1],
  765.                             &menu2Id,
  766.                             &MJ_MITEML40,
  767.                             OFFSET(MITEML40),
  768.                             MS_NONE
  769.                         } ;
  770. static MITEML40    d039d = {    MS_EVMOSONL40 | MS_LEFTL40,
  771.                              358,  79, 467, 102, 8,15, 8,
  772.                             MS_NONEL40,
  773.                             igo_comment,
  774.                             0x0043,  -1,
  775.                             "コメント...",
  776.                                1,  12,  12,
  777.                             MS_NONEL40,
  778.                                0,   0,
  779.                                0
  780.                         } ;
  781.  
  782. /* mitem2Id[2] */
  783.  
  784. static MMIPACKET d040 = {    &mitem2Id[2],
  785.                             &menu2Id,
  786.                             &MJ_MITEML40,
  787.                             OFFSET(MITEML40),
  788.                             MS_NONE
  789.                         } ;
  790. static MITEML40    d040d = {    MS_EVMOSONL40 | MS_LEFTL40,
  791.                              357, 103, 467, 124, 8,15, 8,
  792.                             MS_NONEL40,
  793.                             igo_chg_put,
  794.                             0x0056,  -1,
  795.                             "変化登録",
  796.                                1,  12,  12,
  797.                             MS_NONEL40,
  798.                                0,   0,
  799.                                0
  800.                         } ;
  801.  
  802. /* mitem2Id[3] */
  803.  
  804. static MMIPACKET d041 = {    &mitem2Id[3],
  805.                             &menu2Id,
  806.                             &MJ_MITEML40,
  807.                             OFFSET(MITEML40),
  808.                             MS_NONE
  809.                         } ;
  810. static MITEML40    d041d = {    MS_EVMOSONL40 | MS_LEFTL40,
  811.                              357, 130, 465, 156, 8,15, 8,
  812.                             MS_NONEL40,
  813.                             igo_chg_cancel,
  814.                             0x0042,  -1,
  815.                             "変化戻り    ",
  816.                                1,  12,  12,
  817.                             MS_NONEL40,
  818.                                0,   0,
  819.                                0
  820.                         } ;
  821.  
  822. /* mitemBarId[3] */
  823.  
  824. static MMIPACKET d042 = {    &mitemBarId[3],
  825.                             &menuBarId,
  826.                             &MJ_MITEML40,
  827.                             OFFSET(MITEML40),
  828.                             MS_NONE
  829.                         } ;
  830. static MITEML40    d042d = {    MS_EVMOSONL40 | MS_LEFTL40 | MS_SKEYL40,
  831.                              275,   0, 366,  19, 8, 9,15,
  832.                             MS_PANELL40,
  833.                             0,
  834.                             0x0000,  -1,
  835.                             " 表  示 ",
  836.                                1,  12,  12,
  837.                             MS_NONEL40,
  838.                                0,   0,
  839.                                0
  840.                         } ;
  841.  
  842. /* menu3Id */
  843.  
  844. static MMIPACKET d043 = {    &menu3Id,
  845.                             &mitemBarId[3],
  846.                             &MJ_MENUL40,
  847.                             OFFSET(MENUL40),
  848.                             MS_NONE
  849.                         } ;
  850. static MENUL40    d043d =     {    MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_SAVEL40,
  851.                              483,  57, 611, 100, 0,15, 0,
  852.                             MS_SRECTL40 | MS_FRAMEL40,
  853.                             NULL,   0
  854.                         } ;
  855.  
  856. /* mitem2Id[4] */
  857.  
  858. static MMIPACKET d044 = {    &mitem2Id[4],
  859.                             &menu3Id,
  860.                             &MJ_MITEML40,
  861.                             OFFSET(MITEML40),
  862.                             MS_NONE
  863.                         } ;
  864. static MITEML40    d044d = {    MS_EVMOSONL40 | MS_LEFTL40,
  865.                              484,  59, 608,  74, 8,15, 8,
  866.                             MS_NONEL40,
  867.                             igo_nummberdisp,
  868.                             0x0044,  -1,
  869.                             "手順表示",
  870.                                1,  12,  12,
  871.                             MS_NONEL40,
  872.                                0,   0,
  873.                                0
  874.                         } ;
  875.  
  876. /* mitem2Id[5] */
  877.  
  878. static MMIPACKET d045 = {    &mitem2Id[5],
  879.                             &menu3Id,
  880.                             &MJ_MITEML40,
  881.                             OFFSET(MITEML40),
  882.                             MS_NONE
  883.                         } ;
  884. static MITEML40    d045d = {    MS_EVMOSONL40 | MS_LEFTL40,
  885.                              484,  78, 609,  94, 8,15, 8,
  886.                             MS_NONEL40,
  887.                             igo_autorebirth,
  888.                             0x0052,  -1,
  889.                             "自動再生...  ",
  890.                                1,  12,  12,
  891.                             MS_NONEL40,
  892.                                0,   0,
  893.                                0
  894.                         } ;
  895.  
  896.